<?php

#if (!function_exists('__autoload')) {
    function loadClass($class) {

        if (strpos($class,'Generator')) {
            require_once("generator/".$class.".class.php");
        }else if (strpos($class,'Manager')) {
            require_once("manager/".$class.".class.php");
        }else if (strpos($class,'ction')) {
            require_once("action/".$class.".class.php");
        }else if (strpos($class,'Meta')) {
            require_once("meta/".$class.".class.php");        
        }
    }
#}

    spl_autoload_register('loadClass');

?>
